package com.facebook.listener;

import android.app.Activity;
import android.widget.ImageView;
import android.widget.TextView;

import com.imoblife.brainwavestus.share.SessionEvents.LogoutListener;

/*
 * The Callback for notifying the application when log out starts and
 * finishes.
 */
public class FbAPIsLogoutListener implements LogoutListener {
	
	private Activity mActivity;
	private TextView mText;
	private ImageView mUserPic;
	
	public FbAPIsLogoutListener(){}
	
	public FbAPIsLogoutListener(Activity activity) {
		this.mActivity = activity;
	}
	public void onLogoutBegin() {
		mText.setText("Logging out...");
	}

	public void onLogoutFinish() {
		mText.setText("You have logged out! ");
		mUserPic.setImageBitmap(null);
	}
}
